package com.abl.core.domain.db;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 绿添系统用关联表
 */
@Data
@Table(value = "li_connect")
public class LtConnect implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    // "用户id")
    private String userId;

    //联合登录id")
    private String unionId;

    //联合登录类型")
    private String unionType;

    //"创建者"
    private String createBy;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    //"创建时间", hidden = true)
    private Date createTime;

}
